function Global / optional
You are viewing an older version of the documentation. For the latest, please visit master documentation.

optional

optional ( ) : mixed

Provide access to optional objects.

Parameters

  • $value mixed
  • $callback callable|null