use Drupal\node\Entity\Node;
function abc($v) {
$node = \Drupal\node\Entity\Node::load($v);
print_r($node);
}
The array structure of $node is as given below
Drupal\node\Entity\Node Object ( [in_preview] => [values:protected] => Array ( [nid] => Array ( [x-default] => 166 ) [vid] => Array ( [x-default] => 180 ) [type] => Array ( [x-default] => sections ) [uuid] => Array ( [x-default] => 7759efc9-cfff-4d58-b392-8d60b9903323 ) [langcode] => Array ( [x-default] => en )