Type tester

[data/dictionary/Type tester]


Tells whether the data provided is a dictionary. Example A:

  1. { "first": 1, "third": 3, "fifth": 5 } @0 received via data

  2. is dict sends true@0

Example B:

  1. [ "first", "third" ]@0 received via data

  2. is dict sends false@0


Keywords: dictionary, dict, type, validate

Input ports

  • data: any

    Receives the data to test for being a dictionary. Example: { "first": 1, "third": 0 }

Output ports

  • is dict: boolean

    Sends a value indicating whether the data received is a dictionary. Example: true

Last updated