public function validate($value)
    {
        return is_array($value) ? $this->valueSchema->validate($value) : Error::unit([ Error::NON_ARRAY ]);
    }
public function validate($value)
    {
        return is_array($value) ? $this->valueSchema->validate($value) : Error::unit([ Error::NON_ARRAY ]);
    }
public function validate ( $ value ) { return is_array ( $ value ) ? $ this -> valueSchema -> validate ( $ value ) : Error :: unit ( [ Error :: NON_ARRAY ] ) ; }
Tells if a given value adhere's to the property's value schema.

@param mixed $value

@return ResultInterface Returns Ok if the value is valid, otherwise an Error is returned.
Tells if a given value adhere s to the property s value schema .