PSEC - Powershell Enhanced Capability
Version 1.2.1

valExists (src: start-psec-v4.ps1)

Signature

[UKN] valExists ( [hashtable]$obj, [any]$prop)

Parameters

Parameter Format Description

$obj hashtable parm description missing

$prop any parm description missing

Description

return $true if property exists and has a value other than "" or $null

Notes

only works for hashtables

A value of 0 returns $true unlike Javascript

PSEC - Powershell Enhanced Capability
1.2.1

Copyright © 2018-2021, 2022, Rexcel System Inc.

 

 

 

 

 

X