is-type API v1

Is integer

Checks whether a value is an integer.

Endpoint:

GET https://api.clsr.net/istype/v1/integer

GET parameters:

  • val: string – the value to check

Response:

"true" if it is, "false" otherwise

Examples:

Is string

Checks whether a value is a string.

Endpoint:

GET https://api.clsr.net/istype/v1/string

GET parameters:

  • val: string – the value to check

Response:

"true" if it is, "false" otherwise

Examples:

Is boolean

Checks whether a value is a boolean.

Endpoint:

GET https://api.clsr.net/istype/v1/boolean

GET parameters:

  • val: string – the value to check

Response:

"true" if it is, "false" otherwise

Examples:

Is number

Checks whether a value is a number.

Endpoint:

GET https://api.clsr.net/istype/v1/number

GET parameters:

  • val: string – the value to check

Response:

"true" if it is, "false" otherwise

Examples:

Is float

Checks whether a value is a floating point value.

Endpoint:

GET https://api.clsr.net/istype/v1/float

GET parameters:

  • val: string – the value to check

Response:

"true" if it is, "false" otherwise

Examples:

Is null

Checks whether a value is null.

Endpoint:

GET https://api.clsr.net/istype/v1/null

GET parameters:

  • val: string – the value to check

Response:

"true" if it is, "false" otherwise

Examples: