src/bbn/x.php
public static function get_field(array $r, array $where, string $field){
    if ( ($res = self::get_row($r, $where)) && isset($res[$field]) ){
      return $res[$field];
    }
    return false;
  }
public static function get_field(array $r, array $where, string $field){
    if ( ($res = self::get_row($r, $where)) && isset($res[$field]) ){
      return $res[$field];
    }
    return false;
  }
public static function get_field ( array $ r , array $ where , string $ field ) { if ( ( $ res = self :: get_row ( $ r , $ where ) ) && isset ( $ res [ $ field ] ) ) { return $ res [ $ field ] ; } return false ; }
Returns the first value of a specific field of an array.

```php
\bbn\x::dump(\bbn\x::get_row([[
'id' => 1,
'name' => 'Andrew',
'fname' => 'Williams'
], [
'id' => 2,
'name' => 'Albert',
'fname' => 'Taylor'
], [
'id' => 3,
'name' => 'Mike',
'fname' => 'Smith'
], [
'id' => 4,
'name' => 'John',
'fname' => 'White'
]], ['name' => 'Albert'],'id'));
// int 2
```

@param array $r The array
@param array $where The where condition
@param string $field The field where to look for
@return bool|mixed
Returns the first value of a specific field of an array .