Skip to main content

인수

any
필수
classify할 값입니다. no value를 전달하면 누락된 stack value의 runtime type name을 반환합니다.

반환값

string
Type name string입니다. 검증된 JSON-specific returns는 “null”, “array”, “object”입니다. non-table, non-json.null 값은 Lua type name을 사용하며 runtime value에 따라 “nil”, “boolean”, “number”, “integer”, “string”, “function”, “object”, “thread”, “buffer”, “class”, “object”, “vector” 또는 “no value”가 됩니다.

예제

JSON helper가 반환하는 exact type string을 확인합니다.