function Global / transform

transform

transform ( ) : mixed

Transform the given value if it is present.

Parameters

  • $value TValue
  • $ TDefault|callable
    TDefault|null $default