ilusm.dev

rfl

reflection domain (value/type/object introspection).

Load with: use rfl

Quick example

use rfl

result = rflty("value")
prn(result)

Functions

Functions

rflty(v)

Performs the operation. Takes v.

rflis(v, t)

Returns true/false based on a condition. Takes v, t.

rflke(v)

Performs the operation. Takes v.

rflha(v, k)

Performs the operation. Takes v, k.

rflge(v, k, dfl)

Gets or retrieves a value. Takes v, k, dfl.

rflca(v, k, args)

Performs the operation. Takes v, k, args.

rflle(v)

Performs the operation. Takes v.

rflpa(v)

Parses. Takes v.

rflmr(a, b)

Performs the operation. Takes a, b.

rflma(v, f)

Performs the operation. Takes v, f.

Notes

  • Reflection - inspect types, fields, functions at runtime.